package org.mics.cyy.backUser.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Where;
import org.mics.jpa.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 后台菜单
 * @author mics
 * @date 2020年6月9日
 * @version  1.0
 */
@Data
@Entity
@Table(name = "t_role")
@Where(clause = "bln_del = 0")
@EqualsAndHashCode(callSuper = false)
public class RoleDO extends BaseEntity {
	
	 @Column(name = "name", columnDefinition = "varchar(32) comment '角色名称' ")
	 private String name; 
	 
	 @Column(name = "code", columnDefinition = "varchar(32) comment '代码标识' ")
	 private String code; 
}
